package com.attendance.service.impl;

import com.attendance.model.Biz.BizRecord;
import com.attendance.model.Form.RecordForm;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.attendance.mapper.RecordMapper;
import com.attendance.model.Record;
import com.attendance.service.IRecordService;
import com.baomidou.framework.service.impl.SuperServiceImpl;

import java.util.List;

/**
 *
 * Record 表数据服务层接口实现类
 *
 */
@Service
public class RecordServiceImpl extends SuperServiceImpl<RecordMapper, Record> implements IRecordService {

    @Autowired
    private RecordMapper recordMapper;

    @Override
    public List<BizRecord> getAll(RecordForm recordForm) {
        return recordMapper.getAll(recordForm);
    }
}